import request from "@/api/request";

export function getCatApi(params?: any): Promise<any[]> {
  return request({
    url: "/api/cat/list",
    method: "get",
    params,
  });
}

/**
 * 获取所有猫舍/狗舍
 */
export function getAllHome(params?: any): Promise<any[]> {
  return request({
    url: "/api/cattery/list",
    method: "get",
    params,
  });
}
